package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.chcrm.entity.StatsDTO.ConsignorStatsDTO;
import com.example.chcrm.entity.StatsDTO.SupplierStatsDTO;
import com.example.chcrm.entity.StatsDTO.VehicleStatistics;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.common.TArea;
import com.example.chcrm.entity.employee.EmployeeVo;
import com.example.chcrm.entity.vehicle.TransportChildCv;
import com.example.chcrm.entity.vehicle.VehicleDeployCarCv;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

/**
 * @Author 邹
 * @Date 2025/4/24 11:18
 * @Version 1.0
 */
public interface TransportChildCvService <T>{
    ResponseMsg<IPage<TransportChildCv>> pageList(TransportChildCv department);

    ResponseMsg<Object> add(TransportChildCv department, EmployeeVo empVo);

    ResponseMsg<Object> detail(String id);

    ResponseMsg<Object> importExcelxlAddOlan(Workbook wb, EmployeeVo empVo);

    ResponseMsg<IPage<TransportChildCv>> wtcPageList(TransportChildCv transportChildCv, EmployeeVo empVo);

    ResponseMsg<List<ConsignorStatsDTO>> getConsignorStats(TransportChildCv transportChildCv);

    ResponseMsg<List<VehicleStatistics>> getVehicleStats(TransportChildCv transportChildCv);

    ResponseMsg<List<SupplierStatsDTO>> getSupplierStats(VehicleDeployCarCv cv);
}
